<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Login</title>
</head>
<body>
	<h1>Welcome to quiz.ge</h1>
	
	
	<%
		if(session.getAttribute("Note") != null){
			out.println("<p><span style=\"color:red\">" + session.getAttribute("Note") +"</span></p>");
			session.removeAttribute("Note");
		}else
			out.println("<p>Please log in</P>");
	%>
	
	<form action="LoginServlet" method="post">
		<p>User Name: <input type="text" name="userName" /></P>
		<p>Password: <input type="password" name="password" /></P>
		<p><input type="submit" value="login"/></P>
	</form>
	<a href="newAccount.jsp">create new account</a>
</body>
</html>